package com.polymathcoder.dpastry.api;

import java.util.concurrent.RunnableFuture;

/**
 * Created by IntelliJ IDEA.
 * User: Drew
 * Date: Jul 5, 2010
 * Time: 9:15:12 PM
 * To change this template use File | Settings | File Templates.
 */
public interface CallbackRunnableFuture<V> extends RunnableFuture<V> {
    public void setCallback(Callback<V> callback);

    public boolean hasCallback();

    public Callback<V> getCallback();
}